package factory;

public class EntityXiaomi extends Car{
    public EntityXiaomi(){
        super.carName = "普通小米";
    }

    public EntityXiaomi(String name){
        super.carName = name;
    }

    @Override
    public String showInfo() {
        return "我是小米："+super.carName;
    }
}
